package com.cloudkinto.dto.mail;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class MailAccountDto {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long companyId;

    @ApiModelProperty(name = "发送邮箱抬头")
    private String mailNo;

    @ApiModelProperty(name = "邮箱账号")
    private String user;

    @ApiModelProperty(name = "密钥")
    private String password;

    @ApiModelProperty(name = "smtp")
    private String smtp;

    @ApiModelProperty(name = "imap")
    private String imap;


    @ApiModelProperty(name = "邮箱状态 normal正常 abnormal 不正常")
    private String status;

    @ApiModelProperty(name = "昵称")
    private String nick;
    private Long storeId;
    @ApiModelProperty(name = "店铺名称")
    private String storeCode;
    @ApiModelProperty(name = "默认确认模板id")
    private Long defaultConfirmTemplateId;

    @ApiModelProperty(name = "默认发送模板id")
    private Long defaultSendTemplateId;
    @ApiModelProperty(name = "是否自动发送")
    private Integer isAutoSent;

    @ApiModelProperty("端口")
    private String port;
    @ApiModelProperty("自定义邮件头部")
    private String headContent;
    @ApiModelProperty("自定义邮件尾部")
    private String tailContent;
    @ApiModelProperty("邮件标题")
    private String title;
    @ApiModelProperty("位置类型")
    private int emailTitleType;
}
